<template>
  <div id="app">
    <div class="nav">
      <div class="user">
        <img src="./public/imgs/userHead.jpg" style="margin: 0 15px;" alt />
        <span>欢迎，木板<span class="navArrowDonw"></span></span>
      </div>
    </div>
    <div class="main">
      <div class="left">
        <div class="container">
          <div class="banner">
            <img src="./public/imgs/banner.jpg" alt />
          </div>
          <div class="phonecontent">
            <div class="video borderBottom">
              <p class="info">交易曦游记：记录真实交易员的人物纪实片</p>
              <div class="mark" id="videobox">
                <div class="shareImg hidden-phone">
                    <a class="share" style="margin-left: 80px;" title="分享到微信" href="#"></a>
                    <a class="share" href="#"></a>
                    <a class="share" href="#"></a>
                    <a class="share" href="#"></a>
                </div>
                <!-- <img class="shareImg hidden-phone" src="./public/imgs/share.jpg" alt /> -->
                <div class="play"><img style="width:120px;height:120px;" src="./public/imgs/play.png" alt=""></div>
                <div class="myVideo">
                  <video
                    id='myVideo'
                    src="http://qukufile2.qianqian.com/data2/video/ae259cd3f8883a642844adf012bfbad3/608002247/608002247.mp4"
                  ></video>
                </div>
              </div>
            </div>
            <div class="introduction visible-phone hidden-PC">
              <p class="userTitle">交易员人物介绍</p>
              <div class="users">
                <div class="userItem">
                  <img src="./public/imgs/right_user.jpg" class="userImg" alt="">
                  <p>林则徐<span class="styleSpan"><span class="arrowUp"></span></span></p>
                </div>
                <div class="userItem">
                  <img src="./public/imgs/right_user.jpg" class="userImg" alt="">
                  <p>林则徐<span class="styleSpan opacity_3"><span class="arrowDown"></span></span></p>
                </div>
                <div class="userItem">
                  <img src="./public/imgs/right_user.jpg" class="userImg" alt="">
                  <p>林则徐<span class="styleSpan opacity_3"><span class="arrowDown"></span></span></p>
                </div>
                <div class="userItem">
                  <img src="./public/imgs/right_user.jpg" class="userImg" alt="">
                  <p>林则徐<span class="styleSpan opacity_3"><span class="arrowDown"></span></span></p>
                </div>
              </div>
              <div class = "mwt_border" >   
                  <span class = "arrow_t_int" > </span >   
                  <span class = "arrow_t_out" > </span >  
                  1785年，福建，清朝时期的政治家、思想家和诗人，因其主张严禁鸦片,在中国有“民族英雄”之誉。
              </div >
              <p class="infoStyle1 margin-bottom_35px phoneFontStyle"><span class="phoneCircle hidden-PC visible-phone1"></span>本集讨论话题<span class="phoneCircle hidden-PC visible-phone1"></span></p>
              <p class="talk-phone">交易简单看来，不外乎上涨下跌，赌博不外乎输赢。交易员是赌徒吗？</p>
              <div class="votes-phone">
                <div class="vote-phone">
                  <div class="vote-top">
                    <div class="topBox">
                      <img src="./public/imgs/left.png" alt="">
                      <div class="vote-btn">投票</div>
                    </div>
                  </div>
                  <div class="vote-bottom">已投<span>1209</span>票</div>
                </div>
                <div class="vote-phone">
                  <div class="vote-top">
                    <div class="topBox">
                      <img src="./public/imgs/right.png" alt="">
                      <div class="vote-btn vote-btn1">投票</div>
                    </div>
                  </div>
                  <div class="vote-bottom">已投<span>1209</span>票</div>
                </div>
              </div>
            </div>
            <div class="old borderBottom">
              <div class="oldHead titleMargin">
                <div class="title">
                  <img class="icon" src="./public/imgs/huojian.jpg" alt />
                  <p class="titleFont">往期回顾</p>
                  <img style="padding-top:5px" src="./public/imgs/share_s.jpg" alt />
                </div>
                <a href>查看更多</a>
              </div>
              <div class="content">
                <div class="item oldVideo" srcURL="http://qukufile2.qianqian.com/data2/video/5b55a43ab9f4bf18960b40ed9b5a2cb1/607997330/607997330.mp4">
                  <img src="./public/imgs/item1.jpg" alt />
                  <div class="itemP">
                    <p>八周交易计划2 《我的信仰》</p>
                    <p>2017-01-20</p>
                  </div>
                </div>
                <div class="item oldVideo" srcURL="http://qukufile2.qianqian.com/data2/video/8970159e9c5b336724e9df9f2b61ed03/608000828/608000828.mp4">
                  <img src="./public/imgs/item1.jpg" alt />
                  <div class="itemP">
                    <p>八周交易计划2 《我的信仰》</p>
                    <p>2017-01-20</p>
                  </div>
                </div>
                <div class="item oldVideo hidden-phone" srcURL="http://qukufile2.qianqian.com/data2/video/589525916/f29cab06b7c24de4847a93ba5ab8b9b2/589525916.mp4">
                  <img src="./public/imgs/item1.jpg" alt />
                  <div class="itemP">
                    <p>八周交易计划2 《我的信仰》</p>
                    <p>2017-01-20</p>
                  </div>
                </div>
              </div>
            </div>
            <div class="message">
              <div class="header titleMargin">
                <div class="title" style="justify-content:flex-start;">
                  <img class="icon" src="./public/imgs/huojian.jpg" alt />
                  <p class="titleFont">留言板</p>
                  <img style="padding-top:5px" src="./public/imgs/share_s.jpg" alt />
                </div>
              </div>
              <div class="content">
                <div class="topic">
                  <div class="topic-content">
                    <img src="./public/imgs/topic.jpg" alt />
                    <p class="fontStyle4">交易简单看来，不外乎上涨下跌，赌博不外乎输赢。很多人看来，这两者都是很大风险的，但实际交易的风险就不可控了吗？交易员和赌徒之间到底差别什么？作为交易员的你，又是怎样觉得呢？</p>
                  </div>
                </div>
                <div class="flag">
                  <div class="flag-left">
                    <p class="circle"></p>
                    <p class="rect"></p>
                    <p class="circle"></p>
                  </div>
                  <div class="flag-right">
                    <p class="circle"></p>
                    <p class="rect"></p>
                    <p class="circle"></p>
                  </div>
                </div>
                <div class="pannel">
                  <div class="send">
                    <div class="send_left">
                      <img style="margin-right: 25px;" src="./public/imgs/sendIcon.jpg" alt />
                      <p>评论需要登录，您还没有登录</p>
                    </div>
                    <div class="send_right">
                      <div class="register">注册</div>
                      <div class="login">登录</div>
                    </div>
                  </div>
                  <div class="hr">
                    <p class="newHead">最新评论(149)</p>
                  </div>
                  <div class="newContent">
                    <div class="item">
                      <div class="hot">0</div>
                      <div class="itemChild">
                        <div class="user">
                          <img src="./public/imgs/user.jpg" alt />
                          <div class="titleFont">
                            <p class="userName">扭转乾坤</p>
                            <p class="location">
                              <span>温州</span>
                              <span>10:06</span>
                            </p>
                          </div>
                        </div>
                        <div class="userMessage">大部分的赌徒都是赌久必输，而只有部分职业赌徒是赌久必赢的。可以说，赌久必输是生活中常见的现象</div>
                        <div class="response">
                          <img src="./public/imgs/responseIcon.jpg" alt />
                          <p>回复</p>
                        </div>
                      </div>
                    </div>
                    <div class="item">
                      <div class="hot">2</div>
                      <div class="itemChild">
                        <div class="user">
                          <img src="./public/imgs/user.jpg" alt />
                          <div class="titleFont">
                            <p class="userName">扭转乾坤</p>
                            <p class="location">
                              <span>广州</span>
                              <span>09:34</span>
                            </p>
                          </div>
                        </div>
                        <div class="userMessage">交易员是猎人，捕捉市场动态；交易员是心理分析师，分析别人交易心态的同时也被别人分析着</div>
                        <div class="response">
                          <img src="./public/imgs/responseIcon.jpg" alt />
                          <p>回复</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="float">
        <div class="rightbox">
          <div class="right">
            <div class="content">
              <div class="hidden-PC phoneCloseBtn visible-phone1">×</div>
              <p class="infoStyle1 top">交易员人物介绍</p>
              <div class="user user1">
                <img class="phoneUserImg" src="./public/imgs/right_user.jpg" alt />
                <div class="userInfo">
                  <div class="infoStyle2">
                    <span>
                      林则徐（
                      <span>1785</span>年）,
                    </span>
                    <span style="padding-left:5px;">福建</span>
                  </div>
                  <div class="infoStyle4" style="width: 240px;">清朝时期的政治家、思想家和诗人，因其主张严禁鸦片,在中国有“民族英雄”之誉。</div>
                </div>
              </div>
              <div class="user user1 visible-phone" style="display:none;">
                <img class="phoneUserImg" src="./public/imgs/right_user.jpg" alt />
                <div class="userInfo">
                  <div class="infoStyle2">
                    <span>
                      林则徐（
                      <span>1785</span>年）,
                    </span>
                    <span style="padding-left:5px;">福建</span>
                  </div>
                  <div class="infoStyle4" style="width: 240px;">清朝时期的政治家、思想家和诗人，因其主张严禁鸦片,在中国有“民族英雄”之誉。</div>
                </div>
              </div>
              <div class="user user1 visible-phone" style="display:none;">
                <img class="phoneUserImg" src="./public/imgs/right_user.jpg" alt />
                <div class="userInfo">
                  <div class="infoStyle2">
                    <span>
                      林则徐（
                      <span>1785</span>年）,
                    </span>
                    <span style="padding-left:5px;">福建</span>
                  </div>
                  <div class="infoStyle4" style="width: 240px;">清朝时期的政治家、思想家和诗人，因其主张严禁鸦片,在中国有“民族英雄”之誉。</div>
                </div>
              </div>
              <div class="user user1 visible-phone" style="display:none;">
                <img class="phoneUserImg" src="./public/imgs/right_user.jpg" alt />
                <div class="userInfo">
                  <div class="infoStyle2">
                    <span>
                      林则徐（
                      <span>1785</span>年）,
                    </span>
                    <span style="padding-left:5px;">福建</span>
                  </div>
                  <div class="infoStyle4" style="width: 240px;">清朝时期的政治家、思想家和诗人，因其主张严禁鸦片,在中国有“民族英雄”之誉。</div>
                </div>
              </div>
              <p class="infoStyle1 margin-bottom_35px phoneFontStyle"><span class="phoneCircle hidden-PC visible-phone1"></span>本集讨论话题<span class="phoneCircle hidden-PC visible-phone1"></span></p>
              <p class="infoStyle2 infoStyle2-phone">交易简单看来，不外乎上涨下跌，赌博不外乎输赢。交易员是赌徒吗？</p>
              <div class="votes hidden-phone">
                <div class="vote">
                  <div class="box" style="border-radius: 0;">
                    <div class="button button1">投票</div>
                    <p class="infoStyle2">我是选项1</p>
                  </div>
                  <p class="infoStyle2 pCenter">
                    已投
                    <span>1209</span>票
                  </p>
                </div>
                <div class="vote">
                  <div class="box">
                    <div class="button button2">投票</div>
                    <p class="infoStyle2">我是选项2</p>
                  </div>
                  <p class="infoStyle2 pCenter">
                    已投
                    <span>1209</span>票
                  </p>
                </div>
              </div>
              <div class="hidden-PC votes-phone">
                <div class="vote-phone">
                  <div class="vote-top">
                    <div class="topBox">
                      <img src="./public/imgs/left.png" alt="">
                      <div class="vote-btn">投票</div>
                    </div>
                  </div>
                  <div class="vote-bottom">已投<span>1209</span>票</div>
                </div>
                <div class="vote-phone">
                  <div class="vote-top">
                    <div class="topBox">
                      <img src="./public/imgs/right.png" alt="">
                      <div class="vote-btn vote-btn1">投票</div>
                    </div>
                  </div>
                  <div class="vote-bottom">已投<span>1209</span>票</div>
                </div>
              </div>
              <img class="hidden-phone" src="./public/imgs/bitmap.jpg" alt />
              <p class="infoStyle3 hidden-phone">线下沙龙招募活动</p>
              <p
                class="infoStyle4 hidden-phone"
              >交易简单看来，不外乎上涨下跌，赌博不外乎输赢。交易员是赌徒吗？交易简单看来，不外乎上涨下跌，赌博不外乎输赢。交易员是赌徒吗？交易简单看来？</p>
              <div class="details hidden-phone">活动详情</div>
              <hr style="color:#f0f3f5;width:100%;" />
              <div class="join">
                <p class="infoStyle4">加入我们《交易曦游记》大家庭吧！</p>
                <div class="wx">
                  <img src="./public/imgs/QRcode.jpg" alt />
                  <div class="wxinfo">
                    <p class="wxname infoStyle4 ">交易曦游记</p>
                    <p class="wxusername infoStyle4 ">
                      微信号：
                      <span>jin10_domi</span>
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="footer"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// import Calendar from './components/Calendar'
window.onload = function () {
  console.log('123')
  let right = document.getElementsByClassName('rightbox')[0];
  document.onscroll = function(event){
    if(document.body.clientWidth > 768 && scrollY > 90){
      right.style.position = 'fixed';
      right.style.top = '0';
      right.style.marginTop = "25px";
      right.style.marginRight = "12.5%";
    }else{
      right.style.position = 'relative';
      right.style.marginTop = "0px";
      right.style.marginRight = '0px';
      right.style.top = null;
    }
  };
  let close = document.getElementsByClassName('phoneCloseBtn')[0];
  let left = document.getElementsByClassName('left')[0];
  let introduction = document.getElementsByClassName('introduction')[0];
  let float = document.getElementsByClassName('float')[0];
  introduction.onclick = function() {
    if(!float.style.display || float.style.display == 'none'){
      document.documentElement.scrollTop = 0;
      float.style.display = 'block';
      left.style.opacity = 0.3;
    }
  }
  close.onclick = function() {
    float.style.display = 'none';
    left.style.opacity = 1;
  }
  let flag = false;
  let video = document.getElementById('myVideo');
  video.onclick = function(el) {
    flag = !flag;
    flag? video.play():video.pause();
    if(flag){
      video.play();
      document.getElementsByClassName('play')[0].style.display = "none";
    }else{
      document.getElementsByClassName('play')[0].style.display = "flex";
    }
  }
  video.onended = function() {
    document.getElementsByClassName('play')[0].style.display = "flex";
  }
  let oldVideoList = [].slice.call(document.getElementsByClassName('item oldVideo'));
  oldVideoList.forEach(item => {
    item.onclick = function(){
      video.src = item.getAttribute("srcURL");
      flag = true;
      document.getElementsByClassName('play')[0].style.display = "none";
      document.documentElement.scrollTop = 0;
      video.play();
    }
  })
  let hotList = [].slice.call(document.getElementsByClassName('hot'));
  let clickCallback = function(dom) {
    let flag = false;
    return function() {
      console.log(dom);
      if(!flag){
        flag = !flag;
        dom.innerHTML = parseInt(dom.innerText) + 1;
        dom.style.color = 'red';
      }else{
        flag = !flag;
        dom.innerHTML = parseInt(dom.innerText) - 1;
        dom.style.color = '#b4a0a0';
      }
    }
  }
  hotList.forEach(item => {
    item.onclick = clickCallback(item);
  })
  let shareList = [
      'https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=',
      'http://v.t.sina.com.cn/share/share.php?',
      'https://connect.qq.com/widget/shareqq/iframe_index.html?',
      'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?'
  ]
  let shareBtnList = [].slice.call(document.getElementsByClassName('share'));
  shareBtnList.forEach((item, index) => {
      item.onclick = function() {
        let href = null;
          if(index == 0){
              href = shareList[index] + encodeURIComponent(video.src) + '&title=' + encodeURIComponent('金十');
          }else{
              href = shareList[index]+ 'url=' + encodeURIComponent(video.src) + '&title=' + encodeURIComponent('金十');
          }
          window.open(href)
      }
  })
}
export default {
  name: 'App',
  components: {
    // Calendar
  },
  data() {
      return {
          data: new Date(),
          newdate: new Date()
      }
  },
  methods: {
    getDate(value){
      console.log(value);
    }
  }
}
</script>


<style>
  *{
    margin: 0;
    padding: 0;
  }
  html{
    font-size: 16px;
    margin: 0 auto;
    background-color: #FFFCF5;
  }
  p{
    color: #5a323c;
    font-family: "Microsoft YaHei";
  }
  a {
    text-decoration: none;
    color: #b4a0a0;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
    line-height: 0.875rem;
    text-align: justify;
  }
  .hidden-PC{
    display: none;
  }
  @media(max-width: 769px){
    html{
      width: 768px;
      font-size: 20px;
    }
    .main{
      width: 750px!important;
      background-image: url(./public/imgs/background.jpg);
      background-size: 100%;
      flex-direction: column;
      justify-content: flex-start!important;
      align-items: center;
    }
    .main>.left{
      width: 100%!important;
    }
    .main>.left>.container{
      margin: 0 auto!important;
    }
    .phonecontent{
      padding: 0 10px;
    }
    .hidden-phone{
      display: none!important;
    }
    .visible-phone{
      display: flex!important;
    }
    .visible-phone1{
      display: inline-block!important;
    }
    .phoneCircle{
      width: 16px;
      height: 16px;
      margin: 0 50px;
      border: 2px solid #5a323c;
      border-radius: 50%;
      display: inline-block;
    }
    #videobox{
      background-image: url(./public/imgs/repeat_image.jpg);
    }
    .myVideo{
      border: none!important;
    }
    .item{
      flex-direction: row-reverse;
    }
    .hot{
      margin: 0px!important;
    }
    .userMessage{
      margin-left: 60px!important;
      font-size: 1.2rem!important;
    }
    .fontStyle4{
      font-size: 1.2rem!important;
    }
    .talk-phone{
      width: 689px;
      color: #5a323c;
      font-family: "Microsoft YaHei";
      font-size: 1.4rem;
      font-weight: 700;
      /* text-align: justify; */
      letter-spacing: 1.8px;
    }
    .float{
      width: 702px!important;
      position: absolute;
      padding-top: 24px!important;
      display: none;
    }
    .phoneCloseBtn{
      position: absolute;
      opacity: 0.8;
      width: 56px;
      height: 56px;
      background: #d9d2d2;
      color: black;
      z-index: 99;
      line-height: 50px;
      text-align: center;
      font-size: 56px;
      border-radius: 50%;
      right: -10px;
      top: -25px;
    }
    .rightbox{
      width: 100%!important;
    }
    .float .rightbox .right{
      background-color: white!important;
    }
    .top{
      top: -40px!important;
    }
    .infoStyle1{
      font-size: 1.5rem!important;
      width: 74.64%!important;
      height: 60px!important;
      vertical-align: middle;
      text-align: center;
      line-height: 56px!important;
    }
    .phoneFontStyle{
      font-size: 1.6rem!important;
      color: #5a323c!important;
      background: none!important;
      border: none!important;
      font-weight: 700!important;
    }
    .phoneUserImg{
      width: 108px!important;
      height: 108px!important;
    }
    .user1{
      justify-content: space-between!important;
    }
    .introduction{
      flex-direction: column;
      align-items: center;
    }
    .userInfo{
      width: 521px!important;
      height: 108px!important;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .userInfo>div{
      width: 500px!important;
      font-size: 1.25rem!important;
    }
    .infoStyle2-phone{
      font-size: 1.25rem!important;
      padding: 5px 20px 0px 5px;
    }
    .userTitle{
      width: 524px;
      height: 64px;
      border: 1px solid #776969;
      background: #c6544c;
      border-radius: 10px;
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: 700;
      text-align: center;
      line-height: 64px;
      letter-spacing: 2.725px;
      margin: 50px 0 40px;
    }
    .users{
      width: 702px;
      display: flex;
      justify-content: space-between;
    }
    .users>.userItem>img{
      width: 108px;
    }
    .users>.userItem{
      width: 140px;
      color: #5a323c;
      font-family: "Microsoft YaHei";
      font-size: 1.5rem;
      font-weight: 290;
      text-align: justify;
      letter-spacing: 3px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .styleSpan{
      display: inline-block;
      background-color: #5a323c;
      width: 20px;
      height: 20px;
      border-radius: 50%;
    }
    .opacity_3{
      opacity: 0.3;
    }
    .arrowUp{
      display: inline-block;
      float: left;
      margin-left: 3px;
      border-width: 7px;
      border-style: solid;
      border-color: transparent transparent #fff transparent;
    }
    .arrowDown{
      display: inline-block;
      float: left;
      margin-left: 3px;
      margin-top: 7px;
      border-width: 7px;
      border-style: solid;
      border-color: #fff transparent transparent transparent;
    }
    .mwt_border {   
      width: 620px;
      border-radius: 10px;
      text-align : center ;   
      background : #fff ;   
      position : relative ;   
      border :  solid  2px  #5a323c ;   
      margin : 30px ;   
      padding : 30px ;  
      color: #5a323c;
      font-family: "Microsoft YaHei";
      font-size: 1.2rem;
      font-weight: 290;
      line-height: 45px;
      text-align: justify;
      letter-spacing: 1px; 
    }   
    .mwt_border .arrow_t_int {   
        width : 0px ;   
        height : 0px ;   
        border-width : 15px ;   
        border-style : solid ;   
        border-color : transparent  transparent #5a323c  transparent  ;   
        position : absolute ;   
        top : -30px ;   
        left : 40px ;   
    }    
    .mwt_border .arrow_t_out {   
        width : 0px ;   
        height : 0px ;   
        border-width : 15px ;   
        border-style : solid ;   
        border-color : transparent  transparent #fff  transparent  ;   
        position : absolute ;   
        top : -28px ;   
        left : 40px ;   
    }  
    .renwujieshao{
      margin-top: 20px;
      padding: 50px;
      border: 1px solid #5a323c;
      border-radius: 10px;
    }
    .votes-phone{
      width: 100%;
      display: flex;
      justify-content: space-evenly;
      margin-bottom: 60px;
      margin-top: 10px;
    }
    .vote-phone{
      width: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .vote-top{
      margin-bottom: 50px;
    }
    .vote-top>.topBox{
      position: relative;
      border: 3px solid #5a323c;
      border-radius: 5px;
    }
    .vote-top>.topBox>img{
      width: 280px;
      padding: 5px 5px 40px;
    }
    .vote-top>.topBox>.vote-btn{
      position: absolute;
      bottom: -40px;
      left: 51.625px;
      width: 186.75px;
      height: 80px;
      background: #c6544c;
      font-size: 1.8rem;
      text-align: center;
      border-radius: 40px;
      line-height: 80px;
      color: #ffffff;
      font-family: "Microsoft YaHei";
      font-weight: 700;
      letter-spacing: 3.27px;
    }
    .vote-top>.topBox>.vote-btn1{
      color: rgba(255,255,255,0.62);
    }
    .vote-bottom{
      color: #5a323c;
      font-family: "Microsoft YaHei";
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: 2.18px;
    }
    .join{
      width: 100%!important;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .wx>img{
      width: 164px;
      height: 164px;
    }
    .wxinfo>.wxname,.wxinfo>.wxusername{
      font-size: 1.25rem!important;
    }
    .infoStyle4{
      margin: 20px 0!important;
      font-size: 1.6rem!important;
    }
  }
  @media(min-width: 1280px){
    html{
      width: 1280px;
    }
  }
  @media(min-width: 1600px){
    html{
      width: 1600px;
    }
  }
  @media(min-width: 1910px){
    html{
      width: 1920px;
    }
  }
  .navArrowDonw{
    margin-left: 2px;
    display: inline-block;
    border-top-width: 7px;
    border-left-width: 7px;
    border-right-width: 7px;
    border-style: solid;
    border-color: #5a323c transparent transparent transparent;
  }
  .borderBottom{
      padding-bottom: 40px;
      border-bottom: 1px solid #d9d2d2;
  }
  .titleMargin{
    margin: 50px 0 20px;
  }
  .titleFont{
    font-size: 1.125rem;
    font-weight: 700;
    text-align: justify;
    letter-spacing: 2px;
  }
  .fontStyle4{
    color: #5a323c;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
    line-height: 1.5rem;
    text-align: justify;
    letter-spacing: 1.4px;
  }
  .main{
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .nav{
    width: 75%;
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
    margin-top: 10px;
  }
  .nav .user{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main .left{
    width: 75%;
  }
  .main .left .container{
    margin: 5px 20px 5px 4px;
    display: flex;
    flex-direction: column;
  }
  .main .left .container .banner{
  }
  .main .left .container .banner img{
    max-width: 100%;
  }
  .main .left .container .info{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5rem;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: justify;
    letter-spacing: 1.4px;
  }
  .main .left .container .video .shareImg{
      z-index: 99;
      width: 232px;
      height: 40px;
      background-image: url(./public/imgs/share.jpg);
      align-self: flex-end;
  }
  .main .left .container .video .shareImg .share{
      display: inline-block;
      width: 32px;
      height: 40px;
  }
  .main .left .container .video .mark{
    display: flex;
    flex-direction: column;
    position: relative;
  
  }
  .main .left .container .video .mark .play{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main .left .container .video .mark .myVideo{
    border: solid 10px #c6544c;
      border-radius: 10px 0 10px 10px;
  }
  #myVideo{
    margin: 0;
    padding: 0;
    display: block;
    height: 100%;
    width: 100%;
  }
  
  .main .left .container .old .oldHead{
    display: flex;
    justify-content: space-between
  }
  .main .left .container .title{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .main .left .container .title>.icon{
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }
  .main .left .container .old>.content{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .main .left .container .old>.content>.item{
    background-color: white;
    padding: 0 5px;
  }
  .main .left .container .old>.content>.item>img{
    max-width: 100%;
  }
  .main .left .container .old>.content>.item>.itemP{
    margin: 0 0 10px 10px;
  }
  .main .left .message .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .main .left .message .content .topic {
    margin: 10px 0;
    border: 2px solid #b4a0a0;
    border-radius: 12px;
    background-color: #fff;
  }
  .main .left .message .content .topic .topic-content {
    display: flex;
    margin: 30px 9%;
    justify-content: center;
    align-items: center;
  }
  .main .left .message .content .topic .topic-content img {
    width: 36px;
    height: 36px;
    margin-right: 35px;
  }
  .main .left .message .content .pannel {
    width: 100%;
    border: 2px solid #b4a0a0;
    border-radius: 12px;
    background-color: #fff;
  }
  .main .left .message .content .pannel .send {
    width: 92.8%;
    padding: 20px 0;
    border: 2px solid #b4a0a0;
    border-radius: 12px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .main .left .message .content .pannel .send p {
    color: #b4a0a0;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
  }
  .main .left .message .content .pannel .send .send_left,
  .main .left .message .content .pannel .send .send_right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 35px;
  }
  .login,
  .register {
    width: 72px;
    height: 30px;
    border-radius: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
  }
  .login {
    background-color: #c6544c;
    color: white;
    margin-left: 20px;
    font-size: 0.875rem;
  }
  .register {
    border: 1px solid #b4a0a0;
    color: #b4a0a0;
    font-size: 0.875rem;
  }
  .login:hover,
  .register:hover {
    cursor: pointer;
  }
  #app .main .left .message .content .pannel .hr {
    width: 92.8%;
    border-bottom: 1px solid #b4a0a0;
    position: relative;
    margin: 50px auto;
    padding: 10px 0;
    display: flex;
    justify-content: center;
  }
  #app .main .left .message .content .pannel .hr .newHead {
    position: absolute;
    background-color: white;
    color: #b4a0a0;
    padding: 0 20px;
    font-size: 14px;
}
  #app .main .left .message .content .pannel .newContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  #app .main .left .message .content .pannel .newContent .item {
    width: 92.8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #app .main .left .message .content .pannel .newContent .item .hot {
    width: 40px;
    height: 43px;
    margin-right: 40px;
    background-image: url(./public/imgs/hot.jpg);
    text-align: center;
    line-height: 55px;
    align-self: flex-start;
    color: #b4a0a0;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
  }
  #app .main .left .message .content .pannel .newContent .item .hot:hover{
    cursor: pointer;
  }
  #app .main .left .message .content .pannel .newContent .item .itemChild {
    width: 91.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
    color: #b4a0a0;
    font-family: "Microsoft YaHei";
    font-weight: 290;
    border-bottom: 1px solid #b4a0a0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .userMessage {
    color: #5a323c;
  }
  #app .main .left .message .content .pannel .newContent .item .itemChild .user {
    display: flex;
    height: 56px;
    /* justify-content: center; */
    align-items: center;
  }
  #app
    .main
    .left
    .message
    .content
    .pannel
    .newContent
    .item
    .itemChild
    .user
    .titleFont {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    margin-left: 10px;
  }
  #app
    .main
    .left
    .message
    .content
    .pannel
    .newContent
    .item
    .itemChild
    .user
    .titleFont
    .location {
    color: #b4a0a0;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
  }
  #app
    .main
    .left
    .message
    .content
    .pannel
    .newContent
    .item
    .itemChild
    .response {
    display: flex;
    align-self: flex-end;
    align-items: center;
  }
  #app
    .main
    .left
    .message
    .content
    .pannel
    .newContent
    .item
    .itemChild
    .response
    img {
    width: 16px;
    height: 16px;
    padding-top: 3px;
  }
  #app
    .main
    .left
    .message
    .content
    .pannel
    .newContent
    .item
    .itemChild
    .response
    p {
    padding: 0 10px;
    margin: 0;
  }
  .userMessage{
    margin: 15px 0;
    color: #5a323c;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 290;
    text-align: justify;
    letter-spacing: 1.4px;
  }
  .main .float{
    width: 360px;
    padding-top: 80px;
  }

  .main .float .rightbox{
    width: 360px;
    position: relative;
    z-index: 99;
  }
  #app .main .right{
    position: relative;
    border: 2px solid #b4a0a0;
    border-radius: 20px;
  }
  #app .main .right .content {
    margin: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 1.271667px;
    font-family: "Microsoft YaHei";
    text-align: justify;
  }
  #app .main .right .content .infoStyle1 {
    width: 265px;
    height: 32px;
    border: 2px solid #776969;
    background: #c6544c;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    line-height: 32px;
  }
  #app .main .right .content .infoStyle2 {
    color: #5a323c;
    font-size: 0.875rem;
    font-weight: 700;
  }
  #app .main .right .content .infoStyle4 {
    color: #5a323c;
    font-size: 0.875rem;
    font-weight: 290;
  }
  #app .main .right .content .top {
    position: absolute;
    top: -25px;
  }
  #app .main .right .content .user {
    display: flex;
    margin: 30px 10px;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
  }
  #app .main .right .content .user img {
    width: 60px;
    height: 60px;
    margin-right: 25px;
  }
  #app .main .right .content .votes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
  }
  #app .main .right .content .votes .vote .box {
    width: 140px;
    height: 110px;
    margin-bottom: 10px;
    border: 2px solid #b4a0a0;
    background: #ffffff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #app .main .right .content .votes .vote .button {
    width: 126px;
    height: 74px;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    text-align: center;
    margin: 5px 0;
    line-height: 74px;
    color: #ffffff;
    font-family: "Microsoft YaHei";
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1.271667px;
  }
  #app .main .right .content .votes .vote .button1 {
    background-image: url(./public/imgs/left.png);
  }
  #app .main .right .content .votes .vote .button2 {
    background-image: url(./public/imgs/right.png);
  }
  #app .main .right .content .infoStyle3 {
    margin-top: 40px;
    margin-bottom: 20px;
    width: 267px;
    height: 32px;
    border: 2px solid #776969;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    line-height: 32px;
    color: #c6544c;
    background-color: #f8f6f3;
  }
  #app .main .right .content .details {
    width: 103px;
    height: 36px;
    margin: 20px 0;
    background: #c6544c;
    border-radius: 18px;
    color: #ffffff;
    font-family: "Microsoft YaHei";
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    letter-spacing: 1.271667px;
    line-height: 36px;
  }
  #app .main .right .content .wx {
    display: flex;
    margin-top: 8px;
    align-items: center;
    margin-bottom: 20px;
  }
  #app .main .right .content .join .wx img {
    margin-right: 12px;
  }
  #app .main .right .content .join .wx .wxname {
    margin-bottom: 5px;
  }
  #app .main .footer {
    height: 60px;
    width: 100%;
    align-self: flex-end;
    transform: translateY(-50px);
    background-color: transparent;
    border: 4px solid #b4a0a0;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-radius: 30px;
    box-sizing: border-box;
  }
  
</style>
